<template>
  <div class="chit-go-back" @click="goBack">
    <i class="el-icon-arrow-left"></i>
    <span>
    {{ title }}
    </span>
  </div>
</template>

<script>
export default {
  name: "goBack",
  props: {
    title: {
      type: String
    }
  },
  methods: {
    goBack() {
      this.$emit('goBack')
    }
  }
}
</script>

<style lang="scss" scoped>
@import "@/assets/style/businessTheme.scss";

.chit-go-back {
  width: 100%;
  height: 100%;
  cursor: pointer;
  padding: 0 16px;
  box-sizing: border-box;
  background: #fff;
  display: flex;
  align-items: center;
  color: $bt-color;
}
</style>
